package com.onefinger.services;

import org.springframework.stereotype.Controller;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

import com.onefinger.dto.NewRequest;
import com.onefinger.dto.Ticket;

@Controller
@Transactional
public interface IRequestController {

	@Transactional
	@RequestMapping( value="newrequest" , method=RequestMethod.POST )
	public @ResponseBody Ticket newRequest( @RequestBody NewRequest newRequest );
	
}
